package com.zt.ztyh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName ztyh_deposit_date
 */
@TableName(value ="ztyh_deposit_date")
@Data
public class ZtyhDepositDate implements Serializable {
    /**
     * 存款年限表
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 存款方式外键
     */
    @TableField(value = "did")
    private Long did;

    /**
     * 存款年限
     */
    @TableField(value = "keepTime")
    private Double keeptime;

    /**
     * 利率
     */
    @TableField(value = "rate")
    private Double rate;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     *
     */
    @TableField(value = "state")
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
